package com.baiyang.server.service.read;


import com.baiyang.server.model.read.Comments;
import com.baiyang.server.service.BaseService;

import java.util.List;

public interface CommentsService extends BaseService<Comments> {

    void addComment(Comments comments);

    List<Comments> getCommentRecord(String userId, int pageStart, int pageSize);

    /**
     * 根据作者id获取文章评价情况
     * @param authorId
     * @return
     */
    List<Comments> getComment(String authorId);
}
